package com.ecoolex.hotel.saas.core.mapper;

import com.ecoolex.framework.common.annotation.Description;
import com.ecoolex.hotel.saas.entity.SalesUserWalletWithdrawalApply;
import com.ecoolex.hotel.saas.entity.SalesUserWalletWithdrawalApplyExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.lang.NonNull;

public interface SalesUserWalletWithdrawalApplyMapper {
    long countByExample(SalesUserWalletWithdrawalApplyExample example);

    int deleteByExample(SalesUserWalletWithdrawalApplyExample example);

    int deleteByPrimaryKey(Integer applyId);

    int insert(SalesUserWalletWithdrawalApply record);

    int insertSelective(@Param("record") SalesUserWalletWithdrawalApply record, @Param("selective") SalesUserWalletWithdrawalApply.Column ... selective);

    SalesUserWalletWithdrawalApply selectOneByExample(SalesUserWalletWithdrawalApplyExample example);

    List<SalesUserWalletWithdrawalApply> selectByExample(SalesUserWalletWithdrawalApplyExample example);

    SalesUserWalletWithdrawalApply selectByPrimaryKey(Integer applyId);

    SalesUserWalletWithdrawalApply selectByPrimaryKeyWithLogicalDelete(@Param("applyId") Integer applyId, @Param("andLogicalDeleted") boolean andLogicalDeleted);

    int updateByExampleSelective(@Param("record") SalesUserWalletWithdrawalApply record, @Param("example") SalesUserWalletWithdrawalApplyExample example, @Param("selective") SalesUserWalletWithdrawalApply.Column ... selective);

    int updateByExample(@Param("record") SalesUserWalletWithdrawalApply record, @Param("example") SalesUserWalletWithdrawalApplyExample example);

    int updateByPrimaryKeySelective(@Param("record") SalesUserWalletWithdrawalApply record, @Param("selective") SalesUserWalletWithdrawalApply.Column ... selective);

    int updateByPrimaryKey(SalesUserWalletWithdrawalApply record);

    int batchInsert(@Param("list") List<SalesUserWalletWithdrawalApply> list);

    int batchInsertSelective(@Param("list") List<SalesUserWalletWithdrawalApply> list, @Param("selective") SalesUserWalletWithdrawalApply.Column ... selective);

    int logicalDeleteByExample(@Param("example") SalesUserWalletWithdrawalApplyExample example);

    int logicalDeleteByPrimaryKey(Integer applyId);
}